package service.impl;

import dao.ClientUsersDao;
import dao.impl.ClientUserDaoImpl;
import pojo.ClientUsers;
import service.ClientUsersDaoManager;

public class ClientUsersDaoManageImpl implements ClientUsersDaoManager {
	private static ClientUsersDao clientUserDao;
	
	public ClientUsersDaoManageImpl() {
		clientUserDao = new ClientUserDaoImpl();
	}
	
	@Override
	public int add(ClientUsers t) {
		return clientUserDao.add(t);
	}

	@Override
	public ClientUsers findByName(String uname, String psd) {
		return clientUserDao.findByName(uname, psd);
	}

}
